//
//  AddSubDeviceApi.m
//  sHome
//
//  Created by tracyhenry on 2022/5/17.
//  Copyright © 2022 Siterwell. All rights reserved.
//

#import "AddSubDeviceApi.h"
#import "Single.h"
#import "SiterHelp.h"

@interface AddSubDeviceApi()
@end

@implementation AddSubDeviceApi


-(id)getTopic{
    return [NSString stringWithFormat:@"st/siterlink/%@/things/%@/to_dev",self.thingTypeName,self.thingName];
}

-(id)getCommandContent{
    return @{@"cmd":@1};
}

-(id)getSubcribeTopic{
    return [NSString stringWithFormat:@"st/siterlink/%@/things/%@/from_dev",self.thingTypeName,self.thingName];
}

@end
